package com.example.demo1.entity;
import java.util.List;


import java.sql.Timestamp;

public class Timepoint {
    private Timestamp time;
    private  List<Category> categories;

    public Timepoint() {
    }

    public Timepoint(Timestamp time, List<Category> categories) {
        this.time = time;
        this.categories = categories;
    }

    /**
     * 获取
     * @return time
     */
    public Timestamp getTime() {
        return time;
    }

    /**
     * 设置
     * @param time
     */
    public void setTime(Timestamp time) {
        this.time = time;
    }

    /**
     * 获取
     * @return categories
     */
    public List<Category> getCategories() {
        return categories;
    }

    /**
     * 设置
     * @param categories
     */
    public void setCategories(List<Category> categories) {
        this.categories = categories;
    }



    public static class Category{
        private String group_name;
        private String fileUrl;

        public Category() {
        }

        public Category(String group_name, String fileUrl) {
            this.group_name = group_name;
            this.fileUrl = fileUrl;
        }

        /**
         * 获取
         * @return group_name
         */
        public String getGroup_name() {
            return group_name;
        }

        /**
         * 设置
         * @param group_name
         */
        public void setGroup_name(String group_name) {
            this.group_name = group_name;
        }

        /**
         * 获取
         * @return fileUrl
         */
        public String getFileUrl() {
            return fileUrl;
        }

        /**
         * 设置
         * @param fileUrl
         */
        public void setFileUrl(String fileUrl) {
            this.fileUrl = fileUrl;
        }

    }
}
